package kburndown.client.service.data
{
	public class TaskInfo
	{
		public function TaskInfo()
		{
			
		}
		
		[Bindable]
		public var owner: UnitInfo;
		public var id: int;
		[Bindable]
		public var name: String;
		[Bindable]
		public var content: String;
		[Bindable]
		public var duration: Number;
		public var deleted: Boolean;
//		public var hasFinished: Boolean;
		[Bindable]
		public var finishedDate: Date;
		public var finishedComment: String;
		public var beginTime: Date;
		public var priority: int;
		[Bindable]
		public var icon: String;
		
		public function get hasFinished(): Boolean
		{
			return (finishedDate != null);
		}
	}
}